/**
 * Project: shuyin-sync
 * 
 * File Created at Mar 13, 2012
 * $Id$
 * 
 * Copyright 2008 6677bank.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * 6677bank Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with 6677bank.com.
 */
package com.bank6677.sync.csm.dao;

import java.sql.SQLException;
import java.util.List;

import com.bank6677.sync.csm.domain.User;
import com.bank6677.sync.csm.domain.old.AdminInfo;

/**
 * 用户数据层
 * 
 * @author liyue
 * @version UserDao.java Mar 13, 2012 5:13:56 PM
 */
public interface UserDao {

    List<AdminInfo> findAllUsersFromOld() throws SQLException;

    /**
     * 批量插入用户，需要有角色
     * @param users
     * @throws SQLException
     */
    void batchInsert(List<User> users) throws SQLException;

//    void batchInsertUserRole(List<UserRole> userRoles) throws SQLException;
}
